package cn.qu.phizline.event;

/**
 * Created by zh on 17/8/23.
 */
public abstract class Payload {

    private Body body;

    public abstract int getType();

    public abstract int getVersion();

    public abstract Class<? extends Body> getBodyType();

    public Body getBody() {
        return body;
    }

    public void setBody(Body body) {
        this.body = body;
    }

}
